#!/bin/bash

# Тест работы с JSON-файлами

echo "Тесты парсера JSON-файлов =================================" > test/tmp/test-json-Parser.out

for file in test/source/json/parser/*.json
do
    echo "--- ${file} :" >> test/tmp/test-json-Parser.out
    cat ${file} >> test/tmp/test-json-Parser.out
    echo "--- PARSER :" >> test/tmp/test-json-Parser.out
    build/tests/test-json-AnalyzeData ${file} >> test/tmp/test-json-Parser.out
done

exit 0
